package com.mbc.rmt.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.mbc.common.param.CriteriaRMParams;
import com.mbc.rmt.data.CashRemittanceByAgentDataList;
import com.mbc.rmt.entities.CashReceivedByIndividualToPayAgentRpt;
import com.mbc.rmt.entities.CashRemittanceByAgent;
import com.mbc.rmt.entities.CashRemittanceByAgentRpt;

public interface CashRemittanceByAgentDAO {

	public void create(CashRemittanceByAgent entity)throws SQLException;
	public void update(CashRemittanceByAgent entity)throws SQLException;
	public void delete(long key)throws SQLException;
	public CashRemittanceByAgent findByNo(String receiptNo,boolean status)throws SQLException;
	public CashRemittanceByAgent find(long key)throws SQLException;
	public CashRemittanceByAgent findById(long receiptId) throws SQLException;
	public CashRemittanceByAgentDataList findCRByAgent(CriteriaRMParams cri)throws SQLException;
	public CashRemittanceByAgentDataList findAllCRByAgent(CriteriaRMParams cri)throws SQLException;
	public void updateStatus(Byte status,long detailkey) throws SQLException;
	public CashRemittanceByAgent getCRByAgent(CashRemittanceByAgent entity) throws SQLException; 
	ResultSet prepareCRByIndividualToPayAgentReport(CashReceivedByIndividualToPayAgentRpt info) throws SQLException;
	ResultSet prepareCRByAgentReport(CashRemittanceByAgentRpt info) throws SQLException;
	
}
